<template>
  <div>
    <log-form ref="logForm" @search="handleSearch" />
    <log-table ref="logTable" />
  </div>
</template>

<script>
import LogForm from './LogForm'
import LogTable from './LogTable'
export default {
  components: {
    LogForm,
    LogTable
  },
  methods: {
    handleSearch(obj) {
      this.$nextTick(() => {
        this.$refs.logTable.handleGetList(obj)
      })
    }
  }
}
</script>
